package org.zfes.snowier.zbss.xzy.biz.device.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.zbss.xzy.biz.device.model.DeviceModel;
public interface IDeviceModelService{

	 Optional<DeviceModel> loadDeviceModelById(Long id);
	
	 void createDeviceModel(DeviceModel deviceModel);
	
	 void updateDeviceModel(DeviceModel deviceModel);

	 void deleteDeviceModel(Long id);
	
	 DataSet loadDeviceModelDataSet(Map<String, Object> params);
	 

 	void setDeviceModelStatus(Long id, Byte status);
 	
 	void setStatusByTypeId(Long typeId, Byte status);
 	
 	
 	List<DeviceModel> loadByDeviceType(Long deviceTypeId, Byte status);
 	
 	List<DeviceModel> loadByDeviceTypeList(List<Long> deviceTypeIdList, Byte status);
 	
}